<!DOCTYPE html>
<html ng-app="myApp" ng-controller="supplyChainFrameListController" xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/head :: commonHead('供应链框架列表')"></head>
<style>
    .supply-chain{
        padding: 5px;
    }
</style>
<body data-ng-init="load()" style="background: white;margin: 20px;" >
<fieldset  class="layui-elem-field site-demo-button" style="padding:15px">
    <div>
        <button class="layui-btn layui-btn-normal layui-btn-small" id="add">创建框架流程链</button>
        <button class="layui-btn  layui-btn-small" id="edit">修改框架流程链</button>
    </div>
</fieldset>

<fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;">
    <legend>框架流程链</legend>
    <div>
        <p ng-if="listData.length == 0">暂无数据</p>
        <button style="display: none;" ng-click="getData()" type="button" id="queryBtn" ></button>
        <fieldset ng-repeat="data in listData track by $index" class="layui-elem-field site-demo-button" style="margin-top: 30px;">
            <legend ng-bind="data.name"></legend>
            <div class="supply-chain">
                <input type="checkbox" name="flowCheckbox" value="{{data.name}}">
                <button ng-repeat="c in data.chain track by $index" class="layui-btn layui-btn-primary" ng-bind="($index+1)+'   '+c"></button>
            </div>
        </fieldset>
    </div>
</fieldset>
</body>
<span th:replace="/common/on-load-js :: commonOnLoadJs"></span>
<span th:replace="/common/angular :: angular"></span>
<script src="/static/admin/js/supply/supplyChainList.js"></script>

</html>